<?php
class SummonerKey
{
  private $summonerKeyMap = array("shadowmorne"=>"Runa",
  								"earthspine"=>"Amber",
  								"shadowpyre"=>"Malek");	
  	
	 public function getSummonerNameFromKey($key)
	 {
	 	return $this->summonerKeyMap[$key];
	 }	
	
	 public function summonerKeyExists($key)
	 {
	 	return array_key_exists($key, $this->summonerKeyMap);
	 }
}

?>